<?php

defined('SYSPATH') or die('Access error!');

class Controller_Admin_Component extends Controller_Admin_Main
{
    public function action_left()
    {

        $left_arr[0]['name'] = '广告管理';
        $left_arr[0]['sub'] = array(
            array("name" => "添加广告", "url" => URL::site() . "admin/ads/add", 'id' => 300001),
             array("name" => "广告列表", "url" => URL::site() . "admin/ads/list", 'id' => 30000333),
        );
        $this->template->assign('left_arr', $left_arr);
        $this->template->view('left');
    }

}

